package content

import (
	"context"
	"gf_blog_admin/internal/service"

	"gf_blog_admin/api/content/v1"
)

func (c *ControllerV1) ArticleTagList(ctx context.Context, req *v1.ArticleTagListReq) (res *v1.ArticleTagListRes, err error) {
	res = &v1.ArticleTagListRes{}
	res.Rows, res.Total, err = service.ArticleTag().List(ctx, &req.ArticleTagListInput)
	return
}
